import type { RouteRecordRaw } from "vue-router";

export const productRoutes: RouteRecordRaw[] = [
  {
    path: "/product/list",
    name: "Product",
    component: () => import("@/views/product/list.vue"),
    meta: { title: "商品管理", requiresAuth: false, isBasic: true },
  },
  {
    path: "/setting/category",
    name: "ProductCategory",
    component: () => import("@/views/system/setting/categorys.vue"),
    meta: { title: "商品分类", requiresAuth: false, isBasic: true },
  },

  {
    path: "/product/details",
    name: "ProductDetails",
    component: () => import("@/views/product/details.vue"),
    meta: { title: "商品详情", requiresAuth: false, isBasic: true },
  },
  {
    path: "/setting/params",
    name: "ProductParams",
    component: () => import("@/views/system/setting/params.vue"),
    meta: { title: "参数设置", requiresAuth: false, isBasic: true },
  },
  {
    path: "/setting/attribute",
    name: "SystemUsers",
    component: () => import("@/views/system/setting/attribute.vue"),
    meta: { title: "商品规格", requiresAuth: false, isBasic: true },
  },
];
